#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
    int a, b, sum, c, d;
    scanf("%d %d", &a, &b);
    if (a >= 100)
        a = a % 100;
    if (b >= 100)
        b = b % 100;
    sum = a + b;
    if (sum >= 100)
        sum = sum % 100;
    c = sum % 10;
    d = sum / 10 % 10;
    printf("%d", d * 10 + c);
    return 0;
}